package com.capgemini.scaffold.service;


import com.baomidou.mybatisplus.core.metadata.IPage;
import com.capgemini.scaffold.common.ResponseBean;
import com.capgemini.scaffold.dto.InternDTO;
import com.capgemini.scaffold.entity.Intern;

import java.util.List;

/**
 *实习生service层接口
 */
public interface InternService {

    //根据id删除
    int deleteIntren(int id);

    //查询实习生数据
    ResponseBean<List<Intern>> queryIntern();

    //插入字段
    Intern addNewIntern(Intern intern);

    //修改实习生信息
    Integer updateIntern(Intern intern);

    //根据id查询信息
    Intern selectById(int id);

    //模糊查询
    List<Intern> linkIntern(InternDTO req);

    //分页查询
    IPage<Intern> queryInternPage(InternDTO req);

    //导师姓名
    List<String> selectTutorName();


}
